﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="thanhtoan.aspx.cs" Inherits="thanhtoan" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
    <table style="vertical-align: top; text-align: center">        <img alt="Không hiển thị được" title="Thanh toán" src="image/thanhtoan.gif" width="800px" height="40px" />
    </table>

    </div>
    <div align="center" style="width: 730px">
   <asp:MultiView ID="MultiView1" runat="server">
        <asp:View ID="View1" runat="server">
            <table border="0" cellpadding="0" cellspacing="0" style="margin: 50px;
                width: 550px; padding-left: 50px;">
                <tr>
                    <td colspan="3" style="vertical-align: top; height: 16px; text-align: left">
                    </td>
                </tr>
                <tr>
                    <td style="width: 130px; text-align: left;">
                        <asp:Label ID="Label1" runat="server" Font-Names="Arial" Font-Size="11pt" ForeColor="#0066FF"
                            Text="Tên Người Nhận" Width="109px"></asp:Label>
                    </td>
                    <td style="width: 113px">
                        <asp:TextBox ID="txtnguoinhan" runat="server" Font-Italic="False" Font-Names="Arial"
                            Font-Size="11pt" Width="203px" ontextchanged="txtnguoinhan_TextChanged"></asp:TextBox>
                    </td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ErrorMessage="*" ControlToValidate="txtnguoinhan" Display="Dynamic" 
                            ValidationGroup="a"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 130px; height: 25px; text-align: left;">
                        <asp:Label ID="Label2" runat="server" Font-Names="Arial" Font-Size="11pt" ForeColor="#0066FF"
                            Text="Địa chỉ giao hàng" Width="117px"></asp:Label>
                    </td>
                    <td style="width: 113px; height: 25px;">
                        <asp:TextBox ID="txtdiachi" runat="server" Font-Italic="False" Font-Names="Arial"
                            Font-Size="11pt" Width="203px"></asp:TextBox>
                    </td>
                    <td style="width: 117px; height: 25px;">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="txtdiachi" Display="Dynamic" ErrorMessage="*" 
                            ValidationGroup="a"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 130px; text-align: left;">
                        <asp:Label ID="Label3" runat="server" Font-Names="Arial" Font-Size="11pt" ForeColor="#0066FF"
                            Text="Điện thọai" Width="117px"></asp:Label>
                    </td>
                    <td style="width: 113px">
                        <asp:TextBox ID="txtsodt" runat="server" Font-Italic="False" Font-Names="Arial"
                            Font-Size="11pt" Width="203px"></asp:TextBox>
                    </td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ControlToValidate="txtsodt" Display="Dynamic" ErrorMessage="*" 
                            ValidationGroup="a"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                
                
                <tr>
                    <td colspan="3" align="center">
                        <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
                            AutoPostBack="True" ForeColor="#0066FF" 
                            onselectedindexchanged="RadioButtonList1_SelectedIndexChanged">
                            <asp:ListItem>0 VND (3-7 ngày)</asp:ListItem>
                            <asp:ListItem>20 000 VND (2 ngày)</asp:ListItem>
                            <asp:ListItem>50 000 VND (Ngày hôm sau)</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td colspan="3" align="center">
                    <br />
                        <asp:Label ID="lbtongtien" runat="server" Text="" ForeColor="#0066FF"></asp:Label>  
                    </td>
                </tr>
                <tr>
                    <td colspan="3" align="center">
                        <br />
                        <asp:Button ID="btndathang" runat="server" Text="Đặt hàng" ValidationGroup="a" 
                            Width="100px" onclick="btndathang_Click" /><br />
                    </td>
                </tr>
            </table>
        </asp:View>
        <asp:View ID="View2" runat="server">
            <div align="center">
                <h2>
                    Thông Báo</h2>
                <br />
                Bạn đã đặt hàng thành công! Chúng tôi sẽ chuyển đến các bạn trong thời gian sớm nhất!
                <br />
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="trangchu.aspx">Quay lại trang chủ</asp:HyperLink>
            </div>
        </asp:View>
    </asp:MultiView>
    </div>
</asp:Content>

